package com.itheima.pojo;

import java.io.Serializable;

/**
 * @program: myitcast_health
 * @ClassName: Address
 * @description:
 * @author: xiechangyu
 * @create: 2020-08-27 23:26
 **/
public class Address implements Serializable {
    private int id;
    private String addressname;
    private Double latitude;
    private Double longitude;

    public Address(int id, String addressname, Double latitude, Double longitude) {
        this.id = id;
        this.addressname = addressname;
        this.latitude = latitude;
        this.longitude = longitude;
    }

    public Address() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAddressname() {
        return addressname;
    }

    public void setAddressname(String addressname) {
        this.addressname = addressname;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", addressname='" + addressname + '\'' +
                ", latitude='" + latitude + '\'' +
                ", longitude='" + longitude + '\'' +
                '}';
    }
}
